src = $(wildcard ./*.c)
obj = $(patsubst %.c, %.so, $(src))
CC = gcc

%.so: %.c
	$(CC) -shared -fPIC $< -o $@

.PHONY: clean
clean:
	rm -rf $(obj) $(target)


